package cn.iocoder.yudao.module.artifact.controller.admin.info.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 文玩图片新增/修改 Request VO")
@Data
public class InfoImageSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "9566")
    private Long id;

    @Schema(description = "文玩编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "18455")
    @NotNull(message = "文玩编号不能为空")
    private Long artifactId;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "双联壁图片1")
    @NotEmpty(message = "名称不能为空")
    private String name;

    @Schema(description = "图片路径", requiredMode = Schema.RequiredMode.REQUIRED, example = "/image/artifact1.jpg")
    @NotEmpty(message = "图片路径不能为空")
    private String imagePath;

}